package org.dromara.report.service;

import lombok.RequiredArgsConstructor;
import org.dromara.common.web.core.BaseService;
import org.dromara.report.domain.ReportBill;
import org.dromara.report.mapper.ReportBillMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 首页获取展示信息
 */
@RequiredArgsConstructor
@Service
public class ReportBillServiceImpl extends BaseService {

  private final ReportBillMapper baseMapper;

  /**
   * 查询库存预警信息
   */
  public List<ReportBill> getBillNum(ReportBill bo) {
    return baseMapper.getBillNum(bo);
  }

  /**
   * 查询账户余额
   */
  public List<ReportBill> getFmsAccount() {
    return baseMapper.getFmsAccount();
  }

}
